package com.example.timessquare;

import com.squareup.timessquare.CalendarCellDecorator;
import com.squareup.timessquare.CalendarCellView;

import java.util.Date;

/**
 * SampleDecorator
 */
public class SampleDecorator implements CalendarCellDecorator {

  @Override
  public void decorate(CalendarCellView cellView, Date date) {
    String dateString = Integer.toString(date.getDate());
    cellView.getDayOfMonthTextView().setText(dateString + "title");
  }
}